package com.zhuangjie.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuangjie.order.entity.OrderDetail;
import com.zhuangjie.order.pojo.DishSalesCount;
import com.zhuangjie.order.vo.OrderDetailForEvaluate;

import java.util.List;

/**
 * <p>
 * 订单明细表 服务类
 * </p>
 *
 * @author zhuangjie
 * @since 2023-11-24
 */
public interface OrderDetailService extends IService<OrderDetail> {

    List<OrderDetailForEvaluate> getOrderDetailForEvaluateListByOrderId(Long orderId);

    List<OrderDetail> getOrderDetailByOrderId(Long orderId);

    List<DishSalesCount> getShopDishSalesCount(Long shopId, Integer nDaysAgo);
}
